import java.util.Arrays;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: wwy
 * Date: 2024-05-18
 * Time: 13:59
 */
public class Test013 {
    public static void main(String[] args) {
         int[] array={1,5,4,5,4,5,5};
        System.out.println(Arrays.toString(array));
        for (int i = 0; i < array.length; i++) {
            System.out.print(array[i]+" ");
        }
        System.out.println(" ");
        for (int x:
             array) {
            System.out.print(x+" ");
        }
    }
}
